package com.fand.configuration.service;

import java.util.Map;

import com.fand.cache.support.CacheEvictSupport;
import com.fand.configuration.dto.VariableDto;

/**
 * 变量服务
 * 
 * @author yaoHT
 */
public interface VariableService extends CacheEvictSupport {
	String BEAN_ID = "com.fand.configuration.service.VariableService";
	
	String CACHE_NAME = VariableService.BEAN_ID + "Cache";
	
	/**
	 * 查询:变量
	 * 
	 * @return 变量
	 */
	Map<String, String> saveVariableBy1ForMap();
	
	/**
	 * 保存:变量
	 * 
	 * @param variable
	 *            变量对象
	 * @return 变量标识
	 */
	String saveVariableBy1ForObject(VariableDto variable);
}